import { io } from "socket.io-client";
import { StorageSerializers } from '@vueuse/core';

const accessToken=useLocalStorage('auth.accessToken', null, {
    serializer: StorageSerializers.string,
  });

export const socket = io("/",{query: { token:accessToken.value }});